package com.css.msgcenter.server;

public class Constants {
//	msg_d_msgtype
	public static final String EMAIL = "1";
	public static final String IM = "2";
	public static final String PHONE = "3";
	public static final String LETTER = "4";
	public static final String WX = "5";
	
//	消息类型过滤器
	public static final String DEFAULT_FILTER = "1,2,3,4,5";
	
//	msg_d_msgstatus 消息任务执行结果
//	消息状态:
//	0、无效
//	1、等待发送
//	2、发送中
//	3、发送成功
//	4、发送失败
	public static final String STASUS_INVALID = "0";
	public static final String STASUS_WAITING = "1";
	public static final String STASUS_SENDING = "2";
	public static final String STASUS_SUCCESS = "3";
	public static final String STASUS_FAILED = "4";

	
//	最大发送次数
	public static final int TRY_COUNT = 5;
//	任务在队列中的最长停留时间（hour）
	public static final int MAX_TIME = 3;
	
	
}
